home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / sspcon.z / sspcon
Encoding:
Text File  |  2002-10-03  |  3.9 KB  |  133 lines

  1.  
  2.  
  3.  
  4. SSSSSSSSPPPPCCCCOOOONNNN((((3333SSSS))))                                                          SSSSSSSSPPPPCCCCOOOONNNN((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      SSPCON - estimate the reciprocal of the condition number (in the 1-norm)
  10.      of a real symmetric packed matrix A using the factorization A = U*D*U**T
  11.      or A = L*D*L**T computed by SSPTRF
  12.  
  13. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  14.      SUBROUTINE SSPCON( UPLO, N, AP, IPIV, ANORM, RCOND, WORK, IWORK, INFO )
  15.  
  16.          CHARACTER      UPLO
  17.  
  18.          INTEGER        INFO, N
  19.  
  20.          REAL           ANORM, RCOND
  21.  
  22.          INTEGER        IPIV( * ), IWORK( * )
  23.  
  24.          REAL           AP( * ), WORK( * )
  25.  
  26. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  27.      These routines are part of the SCSL Scientific Library and can be loaded
  28.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  29.      directs the linker to use the multi-processor version of the library.
  30.  
  31.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  32.      4 bytes (32 bits). Another version of SCSL is available in which integers
  33.      are 8 bytes (64 bits).  This version allows the user access to larger
  34.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  35.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  36.      only one of the two versions; 4-byte integer and 8-byte integer library
  37.      calls cannot be mixed.
  38.  
  39. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  40.      SSPCON estimates the reciprocal of the condition number (in the 1-norm)
  41.      of a real symmetric packed matrix A using the factorization A = U*D*U**T
  42.      or A = L*D*L**T computed by SSPTRF. An estimate is obtained for
  43.      norm(inv(A)), and the reciprocal of the condition number is computed as
  44.      RCOND = 1 / (ANORM * norm(inv(A))).
  45.  
  46.  
  47. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  48.      UPLO    (input) CHARACTER*1
  49.              Specifies whether the details of the factorization are stored as
  50.              an upper or lower triangular matrix.  = 'U':  Upper triangular,
  51.              form is A = U*D*U**T;
  52.              = 'L':  Lower triangular, form is A = L*D*L**T.
  53.  
  54.      N       (input) INTEGER
  55.              The order of the matrix A.  N >= 0.
  56.  
  57.      AP      (input) REAL array, dimension (N*(N+1)/2)
  58.              The block diagonal matrix D and the multipliers used to obtain
  59.              the factor U or L as computed by SSPTRF, stored as a packed
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. SSSSSSSSPPPPCCCCOOOONNNN((((3333SSSS))))                                                          SSSSSSSSPPPPCCCCOOOONNNN((((3333SSSS))))
  71.  
  72.  
  73.  
  74.              triangular matrix.
  75.  
  76.      IPIV    (input) INTEGER array, dimension (N)
  77.              Details of the interchanges and the block structure of D as
  78.              determined by SSPTRF.
  79.  
  80.      ANORM   (input) REAL
  81.              The 1-norm of the original matrix A.
  82.  
  83.      RCOND   (output) REAL
  84.              The reciprocal of the condition number of the matrix A, computed
  85.              as RCOND = 1/(ANORM * AINVNM), where AINVNM is an estimate of the
  86.              1-norm of inv(A) computed in this routine.
  87.  
  88.      WORK    (workspace) REAL array, dimension (2*N)
  89.  
  90.      IWORK    (workspace) INTEGER array, dimension (N)
  91.  
  92.      INFO    (output) INTEGER
  93.              = 0:  successful exit
  94.              < 0:  if INFO = -i, the i-th argument had an illegal value
  95.  
  96. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  97.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  98.  
  99.      This man page is available only online.
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.